package com.zwh.se.design_pattern.creational.factory.c_abstract_factory.factory;

import com.zwh.se.design_pattern.creational.factory.c_abstract_factory.service.Coffee;
import com.zwh.se.design_pattern.creational.factory.c_abstract_factory.service.Dessert;
import com.zwh.se.design_pattern.creational.factory.c_abstract_factory.service.LatteCoffee;
import com.zwh.se.design_pattern.creational.factory.c_abstract_factory.service.Tiramisu;

/**
 * 意大利风味甜点工厂
 */
public class ItalyDessertFactory implements DessertFactory {
    @Override
    public Coffee createCoffee() {
        return new LatteCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new Tiramisu();
    }
}
